package com.wechat.backend.service;

import java.util.List;
import com.wechat.backend.entity.User;

public interface UserService {
    User register(String username, String password, String nickname);
    User login(String username, String password);

    // 新增 ↓↓↓
    List<User> findByUsernameContainingOrNicknameContaining(String username, String nickname);
} 